<template>
    <div>
        <iframe :src="thirdPartyUrl" width="375px" height="667px" style="border: none;background-color: #fff;"
            title="Embedded Third Party Page" />
    </div>
</template>

<script>
import { useAppStore } from "@/stores/modules/app";
export default {
    data() {
        return {
            thirdPartyUrl: 'http://app-t.union-all.cn/b/#/pages/message/message' // 替换为实际的第三方页面 URL
        };
    },
    mounted() {
        const appStore = useAppStore();
        this.thirdPartyUrl = this.thirdPartyUrl + '?token=' + appStore.token + '&imToken=' + appStore.imToken; // 替换为实际的第三方页面 URL
        console.log(appStore.token)
        console.log(appStore.imToken)
    }
};
</script>